FROM nginx:latest
MAINTAINER xuwenfeng
WORKDIR /srv/app
USER root
ADD build build
ADD nginx-conf/default.conf  /etc/nginx/conf.d/default.conf
ADD ssl  ssl

EXPOSE 3000
EXPOSE 443

#sudo docker build -t='bewithmeallmylife/avocado-cloud-nginx-server:1.0.0' .
#sudo docker run --net=host --name avocado-cloud-nginx-server -it  -d bewithmeallmylife/avocado-cloud-nginx-server:1.0.0